/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package sisgraf.dao;
import sisgraf.model.Material;
import java.util.List;

/**
 *
 * @author Jordan Guerra
 */
public interface MaterialDao {
    public boolean save(Material material);
    public boolean update(Material material);
    public Material getMaterial(int id);
    public Material getLockMaterial(int id);
    public boolean settLockMaterial(Material material);
    public boolean unLockMaterial();
    public List<Material> list(String par);
    public boolean remove(Material material);

}
